<script setup>
// import { onMounted } from 'vue'
// import { useRouter } from 'vue-router'
//
// const router = useRouter()
//
// // 组件挂载时自动跳转
// onMounted(() => {
//   router.push('/')
// })
</script>

<template >
  <div class="container">
    <router-view />
  </div>
</template>

<style scoped>
.container {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}
</style>
